<%--
  Created by IntelliJ IDEA.
  User: King_long
  Date: 2019-10-25
  Time: 17:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>电影管理</title>
    <link
        href="${pageContext.request.contextPath}/static/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/css/bootstrap.min.css"
        rel="stylesheet">
    <link href="${pageContext.request.contextPath}/static/bootstrap-3.3.7-dist/bootstrap-3.3.7-dist/js/bootstrap.js">
</head>
<script src="../../static/js/jquery-1.8.3.js"></script>
<body>
<div class="row col-md-6 col-md-offset-3">

    <%--<button id="add">发布</button>--%>

    <table class="table table-striped">
        <tr>
            <th>电影名称</th>
            <th>电影类型</th>
            <th>电影主演</th>
            <th>电影导演</th>
            <th>价格</th>
        </tr>
        <c:forEach items="${filmInfos}" var="filminfo">
            <tr class="success">
                <td>${filminfo.filmName}</td>
                <td>${filminfo.filmType.typeName}</td>
                <td>${filminfo.actor}</td>
                <td>${filminfo.director}</td>
                <td>${filminfo.ticketPrice}</td>
            </tr>
        </c:forEach>
    </table>
</div>
</body>
<script>

</script>
</html>
